<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
    String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
    if(80==request.getServerPort())
    {
    	basePath = request.getScheme() + "://" + request.getServerName() + path + "/";
    }
	response.setHeader("Pragma", "no-cache");
	response.setDateHeader("Expires", 0);
	response.setHeader("Cache-Control",
			"no-store,no-cache,must-revalidate");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>">

		<title>登录</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<STYLE type="text/css">
		body{
			text-align: center;	
		}
		</STYLE>
	</head>

	<body>
	<jsp:include page="./head.jsp"></jsp:include>
		<div id="loginDiv" style="margin-top:20px;display: none;">
			<table style="margin:0 auto;">
				<tr>
					<td>
						<label>姓名：</label>
					</td>
					<td>
						<input type="text" id="u_name" name="u_name" class="basic_input" />
					</td>
					<td>
						<span style="color: red;" id="u_name_msg"></span>
					</td>
				</tr>
				<tr>
					<td>
						<label>密码：</label>
					</td>
					<td>
						<input type="password" id="u_password" name="u_password" class="basic_input" />
					</td>
					<td>
						<span style="color: red;" id="u_name_msg"></span>
					</td>
				</tr>
				<tr>
					<td colspan="3">
						<a id="LogonButton" class="button" onclick="loginin();"><label>登录</label></a>
					</td>
				</tr>
			</table>
		</div>
	</body>
</html>
<script>
$(document).ready(function() {
	$("#loginDiv").fadeIn(1000);
});
</script>